<html>
<head>
	<title>SimpleBlog CMS admin</title>
	<link href='http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,cyrillic-ext' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" type="text/css" href="<?=base_url()?>css/templ/<?=$this->config->config['template']?>/main.css" />
	<link rel="stylesheet" type="text/css" href="<?=base_url()?>css/login.css" />
	<script type="text/javascript" src="<?=base_url()?>js/jquery.js"></script>
	<script type="text/javascript" src="<?=base_url()?>js/md5.js"></script>
	<script type="text/javascript" src="<?=base_url()?>link/js_vars"></script>
</head>
<body>
	<center>
		<form action="<?=base_url()?>admin/login/logino" method="post" id="adminLoginForm">
			<div id="login" class="rounded">
				Email: <br>
				<input type="text" id="email" name="login"><br>
				Password: <br>
				<input type="password" id="password" name="password"><br>
				<input type="hidden" id="hash" name="hash" autocomplete="off" value="">
				<input type="submit" id="submit" value="OK" />
			</div>
		</form>
	</center>
	<script>
	$(function(){
		$("#adminLoginForm").submit(function() {
			$("#hash").val(hex_md5($("#email").val().toLowerCase().trim()+$("#password").val().trim()));
			$("#password").val('');
		});
	});
	</script>
</body>
</html>